/*
Copyright (C) 2022-2024 Inspur Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package wsreg

import (
	"did-service/controller"

	"github.com/emicklei/go-restful"
)

func RegisterUnLoginWebService(ws *restful.WebService, controller *controller.DidController) {
	ws.Path("/v1/user").Route(ws.POST("/login").To(controller.Login)).
		Route(ws.POST("/register").To(controller.RegisterUser))
}
